package org.cloud.mall;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.security.SecurityAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @ClassName SpjyServiceApplication
 * @Description 启动程序
 * @Created by zzymaster@163.com 2023/8/17 15:06
 * @Version V1.0
 */
@EnableEurekaClient
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class , SecurityAutoConfiguration.class})
public class SpjyServiceApplication {

    public static void main(String[] args) {
        System.out.println("================== 开始启动 商品检验业务管理 服务 ==================");
        new SpringApplicationBuilder(SpjyServiceApplication.class).properties("server.port=" + 8204).run(args);
        System.out.println("================== 商品检验业务管理 服务 启动成功 ==================");
    }
}
